using UnityEditor;
using UnityEngine;

namespace Gameplay.PVE.Editor
{
    [CustomEditor(typeof(MiniMapScreenShot))]
    public class PveSceneMinimapEditor : UnityEditor.Editor
    {
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();
            if (GUILayout.Button("拍摄"))
            {
                (target as MiniMapScreenShot).ScreenShot();
            }
        }
    }
}